package com.chinasofti.java8.demo;

public class FilterEmployeeForAge implements MyPredicate<Employee> {
    @Override
    public boolean test(Employee t) {
        return t.getAge() <= 35;
    }
}
